package com.leyou.search.repository;

import com.leyou.search.entity.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

/**
 * SpringDataElasticSearch：
 *      底层就是封装ES
 *      统一了CRUD的方法，只要继承这个ElasticsearchRepository，就具备CRUD的方法了
 */
public interface GoodsRepository extends ElasticsearchRepository<Goods, Long> {
}
